/*jslint browser: true, devel: true, bitwise: true, white: true, plusplus: true */
/*global $:true, define:true */

/**
 * @module Core
 */

define(function() {
"use strict";

var 
	method,
	noop = function () {},
	methods = [
		'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
		'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
		'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
		'timeStamp', 'trace', 'warn'
	],
	length = methods.length,
	console = (window.console = window.console || {});

while (length--) {
	method = methods[length];
	// tylko niezdefiniowane metody ustawia.
	if (!console[method]) {
		console[method] = noop;
	}
}

});
